#比较大小
# i=int(input("请输入i: "))
# j=int(input("请输入j: "))
# k=int(input("请输入k: "))
# if j>k and i>j:
#     print("jjj")
# elif j<k:
#     print("kkk")
# else:
#     print("iii")
# if i>j:
#     if j>k:
#         print("kkk")
#     else:
#         print("jjj")
# else:
#     if(j>k):
#         print("kkk")
#     else:
#         print("iii")

#判断闰年
# year=int(input("请输入年份："))
# if (year%4==0) or (year%400==0):
#     print("%d是闰年" %year)
# else:
#     print("%d不是闰年" %year)

#加减乘除
n1=float(input("第一个数字:"))
n2=float(input("第二个数字:"))
op=input("请输入运算符:")
if op == "+":
    print(n1+n2)
elif op == "-":
    print(n1-n2)
elif op == "*":
    print(n1*n2)
elif op == "/":
    print(n1/n2)
else :
    print("输入错误，请重新输入：")
